#!/bin/bash

# 路径规划库构建和运行脚本

echo "=== Path Planning Library Build Script ==="

# 创建构建目录
mkdir -p build
cd build

# 配置项目
echo "Configuring project..."
cmake ..

# 编译
echo "Building project..."
make -j$(nproc)

# 运行演示程序
# echo "Running demo..."
# ./path_planning_demo ../maps/test_map.bmp AStar

echo "=== Done ==="